﻿Public Class teste
    Inherits System.Web.UI.Page

    Protected Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
        Me.Button1.Text += "Deu"
    End Sub

    Protected Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
        'ScriptManager.RegisterClientScriptBlock(Me.Page, Me.GetType(), "abrepopup", "abrepopUp();", True)
    End Sub
    <System.Web.Services.WebMethod()>
    Public Shared Function mudaTexto()
        'Me.Button2.Text = "WebMethod"



        Return "O_o"
    End Function

End Class